package staticdemo;

public class StudentTest {
	public static void main(String[] args) {
		Student s = new Student();
		s.name = "TomasJerryChang";
		int nameLength = s.getNameLength();
		System.out.println(nameLength);
		
		Student s1 = new Student();
		s1.score = 90;
		Student s2 = new Student();
		s2.score = 92;
		Student s3 = new Student();
		s3.score = 78;
		Student s4 = new Student();
		s4.score = 97;
		
		Student[] stus = {s1,s2,s3,s4};
		int maxScore = Student.maxScore(stus);
		System.out.println(maxScore);
	}
}
